package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 tb_movies
 * 
 * @author ruoyi
 * @date 2025-09-21
 */
public class TbMovies extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 电影名称 */
    @Excel(name = "电影名称")
    private String title;

    /** 电影图片路径 */
    @Excel(name = "电影图片路径")
    private String picPath;

    /** 分类的id  
0：特色的  1：高观看率   2：高评分  3：最新上映 */
    @Excel(name = "分类的id 0：特色的  1：高观看率   2：高评分  3：最新上映")
    private Long cid;

    /** 电影描述 */
    @Excel(name = "电影描述")
    private String contentDesc;

    /** 关键字，用来搜索 */
    @Excel(name = "关键字，用来搜索")
    private String keyword;

    /** 排序号，越小越靠前 */
    @Excel(name = "排序号，越小越靠前")
    private Long orderNo;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date showTime;

    /** 导演姓名 */
    @Excel(name = "导演姓名")
    private String director;

    /** 演员姓名 */
    @Excel(name = "演员姓名")
    private String actors;

    /** 播放连接 */
    @Excel(name = "播放连接")
    private String url;

    /** 是否需要付费，0：不需要 1：需要 */
    @Excel(name = "是否需要付费，0：不需要 1：需要")
    private Integer needPay;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setPicPath(String picPath) 
    {
        this.picPath = picPath;
    }

    public String getPicPath() 
    {
        return picPath;
    }

    public void setCid(Long cid) 
    {
        this.cid = cid;
    }

    public Long getCid() 
    {
        return cid;
    }

    public void setContentDesc(String contentDesc) 
    {
        this.contentDesc = contentDesc;
    }

    public String getContentDesc() 
    {
        return contentDesc;
    }

    public void setKeyword(String keyword) 
    {
        this.keyword = keyword;
    }

    public String getKeyword() 
    {
        return keyword;
    }

    public void setOrderNo(Long orderNo) 
    {
        this.orderNo = orderNo;
    }

    public Long getOrderNo() 
    {
        return orderNo;
    }

    public void setShowTime(Date showTime) 
    {
        this.showTime = showTime;
    }

    public Date getShowTime() 
    {
        return showTime;
    }

    public void setDirector(String director) 
    {
        this.director = director;
    }

    public String getDirector() 
    {
        return director;
    }

    public void setActors(String actors) 
    {
        this.actors = actors;
    }

    public String getActors() 
    {
        return actors;
    }

    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }

    public void setNeedPay(Integer needPay) 
    {
        this.needPay = needPay;
    }

    public Integer getNeedPay() 
    {
        return needPay;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("picPath", getPicPath())
            .append("cid", getCid())
            .append("contentDesc", getContentDesc())
            .append("keyword", getKeyword())
            .append("orderNo", getOrderNo())
            .append("showTime", getShowTime())
            .append("director", getDirector())
            .append("actors", getActors())
            .append("url", getUrl())
            .append("needPay", getNeedPay())
            .toString();
    }
}
